package com.wpml.ware.entity;

  

import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 *  实体类
 * @author wangpei
 * @since 2020-04-07 12:34:53
 */
@Data
@ToString
@Accessors(chain = true)
@TableName("wms_purchase_detail")
public class PurchaseDetailModel implements Serializable {
    private static final long serialVersionUID = 215127416631306112L;

    @TableId
    @ApiModelProperty("${column.comment}")
    private Long id;

    @ApiModelProperty("采购单id")
    private Long purchaseId;

    @ApiModelProperty("采购商品id")
    private Long skuId;

    @ApiModelProperty("采购数量")
    private Integer skuNum;

    @ApiModelProperty("采购金额")
    private Double skuPrice;

    @ApiModelProperty("仓库id")
    private Long wareId;

    @ApiModelProperty("状态[0新建，1已分配，2正在采购，3已完成，4采购失败]")
    private Integer status;


}